If <Var num> = "<String>" ------------------------- Example : If 5 = "Perth" The IF command compares the contents of the specified variable number with <String>. If the two do not match, then all following lines are skipped until an ENDIF statement is encountered.